package com.sxbbc.common.basics.push;

/**
 * 推送vo对象
 *
 * @author leehao
 * @date 2019-06-25
 */
public class PushVo {

    /** 推送时作为别名 使用token作为别名 */
    private String token;
    /** 推送内容类型 */
    private String content;
    /** 推送类型 */
    private String type;
    /** 目标code */
    private String targetCode;
    /** 参数 */
    private String[] params;

    /** 【暂时不用】用户ID */
    private Integer cid;

    public PushVo() {
    }

    public PushVo(String token, String content, String type,
                  String targetCode, String[] params,Integer cid) {
        this.token = token;
        this.content = content;
        this.type = type;
        this.targetCode = targetCode;
        this.params = params;
        this.cid = cid;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTargetCode() {
        return targetCode;
    }

    public void setTargetCode(String targetCode) {
        this.targetCode = targetCode;
    }

    public String[] getParams() {
        return params;
    }

    public void setParams(String[] params) {
        this.params = params;
    }
}
